package com.gjh.study.algorithm4.evaluate;

import edu.princeton.cs.algs4.Stack;

public class MultiHandler implements OpsHandler {
    @Override
    public Double calculate(Stack<Double> valStack) {
        return valStack.pop() * valStack.pop();
    }
}
